Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Sep 2000
Posts: 59
Member
Member
Offline
Joined: Sep 2000
Posts: 59
OK 3 part question:

1) How do we get our banners, which are called by a cgi file, to appear in the 6.x series? In the 5.x series, in the CP, there was an option for Header, so we simply inserted this:
Code
code:

2) What files (and where in the files) would need to be changed to change the link to the "Register" page so it goes to our site registration page?

3) On that note, what would it take (specifically) so our users would be logged into the UBB from our sign in page?

Sponsored Links
Joined: Mar 2001
Posts: 7,394
LK Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394

Joined: Sep 2000
Posts: 59
Member
Member
Offline
Joined: Sep 2000
Posts: 59
for #1, I thought so and it's there but for whatever reason the script is not being executed (but it was on 5.47e and is on our 5.47e live site UBB ). Our 6.05 (dev) version is here .

Joined: Sep 2000
Posts: 59
Member
Member
Offline
Joined: Sep 2000
Posts: 59
Something I forgot to mention--in our 5.47e version we have this added on to Ultimate.cgi and other files:

Code
code:

Would that also require a code change to those files, such as ultimatebb.cgi? If so, which ones?

[ August 21, 2001: Message edited by: Kydd ]

Joined: Mar 2001
Posts: 7,394
LK Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
Oh..

You can put the CGI code of adlink.cgi (but make the result be in a variable, like $ad, instead of RETURN) in public_common.pl sub set_page_elements, and then in the same file, after
Code
code:
put
Code
code:

You can also try your way, but I don't have AdLink.pm so I dunno.

Sponsored Links
Joined: Sep 2000
Posts: 59
Member
Member
Offline
Joined: Sep 2000
Posts: 59
Please elaborate. All adlink.cgi is is this:
Code
code:

So in essence it calls AdLink.pm.

So what precisely is the easiest work-around?

Joined: Mar 2001
Posts: 7,394
LK Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
OK...
After
Code
code:
add
Code
code:
But I can't be sure...

Joined: Sep 2000
Posts: 59
Member
Member
Offline
Joined: Sep 2000
Posts: 59
If I test this what CP updates do I need to run (if any)?

Joined: Mar 2001
Posts: 7,394
LK Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
Clear Cache

Joined: Sep 2000
Posts: 59
Member
Member
Offline
Joined: Sep 2000
Posts: 59
Over at the UBB support forums, someone suggested that "it would go in the $header section of public_common.pl so it recurs on each page."

Any thoughts on that?

Sponsored Links
Joined: Mar 2001
Posts: 7,394
LK Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
It's what I suggested, just in another way.

Joined: Sep 2000
Posts: 59
Member
Member
Offline
Joined: Sep 2000
Posts: 59
Ha. I tried it the way you suggested and check out what happens.

-first UBB page, no banner displaying.
-list of topics, 1 banner displaying.
-actual topic, 2 banners displaying.

It's actually a little more inconsistent than that but generally, that's what happens...

[ August 22, 2001: Message edited by: Kydd ]

Joined: Mar 2001
Posts: 7,394
LK Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
It balances wink

1. No idea

3. For some reason, the whole header appears twice (including the , etc)...

Joined: Sep 2000
Posts: 59
Member
Member
Offline
Joined: Sep 2000
Posts: 59
Well obviously I can't go "live" with this, which means we'll be stuck on 5.47e unless someone can come up with another idea...

Joined: Sep 2000
Posts: 59
Member
Member
Offline
Joined: Sep 2000
Posts: 59
Quote
quote:
This worked like a charm but the link for "register" where you see "You are not logged in. Login or register" (towards the top left side) is not changed. Any idea where to change that?


Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Shock Hosting
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
JAISP
JAISP
PA
Posts: 449
Joined: February 2008
Forum Statistics
Forums63
Topics37,583
Posts293,955
Members13,824
Most Online151,614
Nov 14th, 2025
Today's Statistics
Currently Online 697
Topics Created 0
Posts Made 0
Users Online 0
Birthdays 25
Top Posters
AllenAyres 21,080
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,834
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2026 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.1.0
(Snapshot build 20260108)